package com.wuli.food.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wuli.food.dto.FoodDto;
import com.wuli.food.entity.Food;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wuli.food.vo.FoodSearchVo;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiongqiaoqiao
 * @since 2023-05-18
 */
public interface FoodMapper extends BaseMapper<Food> {

    IPage<FoodDto> search(FoodSearchVo searchVo, IPage iPage);

    FoodDto getDetail(String id);
}
